[INFO] cloning repository https://github.com/Teradad41/rusty-book-manager
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Teradad41/rusty-book-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTeradad41%2Frusty-book-manager", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTeradad41%2Frusty-book-manager'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 14865f050f567b09b0a6581dfc68f4ec45d9e2e0
[INFO] fixing Teradad41/rusty-book-manager against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTeradad41%2Frusty-book-manager" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/Teradad41/rusty-book-manager
[INFO] finished tweaking git repo https://github.com/Teradad41/rusty-book-manager
[INFO] tweaked toml for git repo https://github.com/Teradad41/rusty-book-manager written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Teradad41/rusty-book-manager on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Teradad41/rusty-book-manager already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded utoipa-redoc v6.0.0
[INFO] [stderr]   Downloaded axum v0.8.7
[INFO] [stderr]   Downloaded bcrypt v0.17.1
[INFO] [stderr]   Downloaded garde_derive v0.22.0
[INFO] [stderr]   Downloaded garde v0.22.0
[INFO] [stderr]   Downloaded mockall v0.14.0
[INFO] [stderr]   Downloaded mockall_derive v0.14.0
[INFO] [stderr]   Downloaded derive-new v0.7.0
[INFO] [stderr]   Downloaded axum-extra v0.12.2
[INFO] [stderr]   Downloaded rstest v0.18.2
[INFO] [stderr]   Downloaded rstest_macros v0.18.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1248a6071bf8c97f1ef4f65305888ff1f37156c6e775f61afc7ecda87548e8b6
[INFO] running `Command { std: "docker" "start" "1248a6071bf8c97f1ef4f65305888ff1f37156c6e775f61afc7ecda87548e8b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1248a6071bf8c97f1ef4f65305888ff1f37156c6e775f61afc7ecda87548e8b6" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1248a6071bf8c97f1ef4f65305888ff1f37156c6e775f61afc7ecda87548e8b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1248a6071bf8c97f1ef4f65305888ff1f37156c6e775f61afc7ecda87548e8b6" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling zerocopy v0.8.28
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]     Checking axum-core v0.5.5
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking matchit v0.8.4
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]     Checking compact_str v0.8.1
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking predicates-core v1.0.9
[INFO] [stderr]    Compiling mockall_derive v0.14.0
[INFO] [stderr]    Compiling mockall v0.14.0
[INFO] [stderr]     Checking termtree v0.5.1
[INFO] [stderr]     Checking bcrypt v0.17.1
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking predicates v3.1.3
[INFO] [stderr]     Checking fragile v2.0.1
[INFO] [stderr]     Checking downcast v0.11.0
[INFO] [stderr]     Checking predicates-tree v1.0.12
[INFO] [stderr]     Checking headers-core v0.3.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling rstest_macros v0.18.2
[INFO] [stderr]    Compiling relative-path v1.9.3
[INFO] [stderr]     Checking futures-timer v3.0.3
[INFO] [stderr]     Checking headers v0.4.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]    Compiling derive-new v0.7.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling garde_derive v0.22.0
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]     Checking strum v0.27.2
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking uuid v1.18.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking garde v0.22.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking icu_properties v2.1.1
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]    Compiling utoipa-gen v5.4.0
[INFO] [stderr]     Checking axum-extra v0.12.2
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking rstest v0.18.2
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking hyper-util v0.1.18
[INFO] [stderr]     Checking sqlx-core v0.8.6
[INFO] [stderr]     Checking axum v0.8.7
[INFO] [stderr]     Checking sqlx-postgres v0.8.6
[INFO] [stderr]     Checking utoipa v5.4.0
[INFO] [stderr]     Checking redis v0.32.7
[INFO] [stderr]     Checking utoipa-redoc v6.0.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking shared v0.1.0 (/opt/rustwide/workdir/shared)
[INFO] [stderr]     Checking kernel v0.1.0 (/opt/rustwide/workdir/kernel)
[INFO] [stderr]     Checking adapter v0.1.0 (/opt/rustwide/workdir/adapter)
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> adapter/src/repository/auth.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |           let user_item = sqlx::query_as!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 44 | |             UserItem,
[INFO] [stdout] 45 | |             r#"
[INFO] [stdout] 46 | |                 SELECT user_id, password_hash FROM users
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | |             email
[INFO] [stdout] 50 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> adapter/src/repository/book.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | /         sqlx::query!(
[INFO] [stdout] 29 | |             r#"
[INFO] [stdout] 30 | |                 INSERT INTO books (title, author, isbn, description, user_id)
[INFO] [stdout] 31 | |                 VALUES($1, $2, $3, $4, $5)
[INFO] [stdout] ...  |
[INFO] [stdout] 37 | |             requested_user as _
[INFO] [stdout] 38 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> adapter/src/repository/book.rs:49:43
[INFO] [stdout]    |
[INFO] [stdout] 49 |           let rows: Vec<PaginatedBookRow> = sqlx::query_as!(
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 50 | |             PaginatedBookRow,
[INFO] [stdout] 51 | |             r#"
[INFO] [stdout] 52 | |                 SELECT
[INFO] [stdout] ...  |
[INFO] [stdout] 61 | |             offset
[INFO] [stdout] 62 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> adapter/src/repository/book.rs:70:34
[INFO] [stdout]    |
[INFO] [stdout] 70 |           let rows: Vec<BookRow> = sqlx::query_as!(
[INFO] [stdout]    |  __________________________________^
[INFO] [stdout] 71 | |             BookRow,
[INFO] [stdout] 72 | |             r#"
[INFO] [stdout] 73 | |                 SELECT
[INFO] [stdout] ...  |
[INFO] [stdout] 86 | |             &book_ids as _
[INFO] [stdout] 87 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/book.rs:115:36
[INFO] [stdout]     |
[INFO] [stdout] 115 |           let row: Option<BookRow> = sqlx::query_as!(
[INFO] [stdout]     |  ____________________________________^
[INFO] [stdout] 116 | |             BookRow,
[INFO] [stdout] 117 | |             r#"
[INFO] [stdout] 118 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 130 | |             book_id as _,
[INFO] [stdout] 131 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/book.rs:149:19
[INFO] [stdout]     |
[INFO] [stdout] 149 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 150 | |             r#"
[INFO] [stdout] 151 | |                 UPDATE books
[INFO] [stdout] 152 | |                 SET
[INFO] [stdout] ...   |
[INFO] [stdout] 166 | |             event.requested_user as _
[INFO] [stdout] 167 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/book.rs:180:19
[INFO] [stdout]     |
[INFO] [stdout] 180 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 181 | |             r#"
[INFO] [stdout] 182 | |                 DELETE FROM books
[INFO] [stdout] 183 | |                 WHERE book_id = $1
[INFO] [stdout] ...   |
[INFO] [stdout] 188 | |             event.requested_user as _
[INFO] [stdout] 189 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/book.rs:204:19
[INFO] [stdout]     |
[INFO] [stdout] 204 |           let res = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 205 | |             BookCheckoutRow,
[INFO] [stdout] 206 | |             r#"
[INFO] [stdout] 207 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 218 | |             &book_ids as _
[INFO] [stdout] 219 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> adapter/src/repository/checkout.rs:36:23
[INFO] [stdout]    |
[INFO] [stdout] 36 |               let res = sqlx::query_as!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 37 | |                 CheckoutStateRow,
[INFO] [stdout] 38 | |                 r#"
[INFO] [stdout] 39 | |                     SELECT
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |                 event.book_id as _
[INFO] [stdout] 48 | |             )
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> adapter/src/repository/checkout.rs:75:19
[INFO] [stdout]    |
[INFO] [stdout] 75 |           let res = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 76 | |             r#"
[INFO] [stdout] 77 | |                 INSERT INTO checkouts
[INFO] [stdout] 78 | |                 (checkout_id, book_id, user_id, checked_out_at)
[INFO] [stdout] ...  |
[INFO] [stdout] 85 | |             event.checked_out_at,
[INFO] [stdout] 86 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/checkout.rs:116:23
[INFO] [stdout]     |
[INFO] [stdout] 116 |               let res = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 117 | |                 CheckoutStateRow,
[INFO] [stdout] 118 | |                 r#"
[INFO] [stdout] 119 | |                     SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 127 | |                 event.book_id as _,
[INFO] [stdout] 128 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/checkout.rs:157:19
[INFO] [stdout]     |
[INFO] [stdout] 157 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 158 | |             r#"
[INFO] [stdout] 159 | |                 INSERT INTO returned_checkouts
[INFO] [stdout] 160 | |                 (checkout_id, book_id, user_id, checked_out_at, returned_at)
[INFO] [stdout] ...   |
[INFO] [stdout] 167 | |             event.returned_at,
[INFO] [stdout] 168 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/checkout.rs:180:19
[INFO] [stdout]     |
[INFO] [stdout] 180 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 181 | |             r#"
[INFO] [stdout] 182 | |                     DELETE FROM checkouts WHERE checkout_id = $1;
[INFO] [stdout] 183 | |                 "#,
[INFO] [stdout] 184 | |             event.checkout_id as _,
[INFO] [stdout] 185 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/checkout.rs:202:9
[INFO] [stdout]     |
[INFO] [stdout] 202 | /         sqlx::query_as!(
[INFO] [stdout] 203 | |             CheckoutRow,
[INFO] [stdout] 204 | |             r#"
[INFO] [stdout] 205 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 219 | |             "#,
[INFO] [stdout] 220 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/checkout.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 | /         sqlx::query_as!(
[INFO] [stdout] 230 | |             CheckoutRow,
[INFO] [stdout] 231 | |             r#"
[INFO] [stdout] 232 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 248 | |             user_id as _
[INFO] [stdout] 249 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/checkout.rs:262:53
[INFO] [stdout]     |
[INFO] [stdout] 262 |           let mut checkout_histories: Vec<Checkout> = sqlx::query_as!(
[INFO] [stdout]     |  _____________________________________________________^
[INFO] [stdout] 263 | |             ReturnedCheckoutRow,
[INFO] [stdout] 264 | |             r#"
[INFO] [stdout] 265 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 281 | |             book_id as _
[INFO] [stdout] 282 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/checkout.rs:304:9
[INFO] [stdout]     |
[INFO] [stdout] 304 |         sqlx::query!("SET TRANSACTION ISOLATION LEVEL SERIALIZABLE")
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/checkout.rs:313:19
[INFO] [stdout]     |
[INFO] [stdout] 313 |           let res = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 314 | |             CheckoutRow,
[INFO] [stdout] 315 | |             r#"
[INFO] [stdout] 316 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 330 | |             book_id as _,
[INFO] [stdout] 331 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> adapter/src/repository/auth.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |           let user_item = sqlx::query_as!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 44 | |             UserItem,
[INFO] [stdout] 45 | |             r#"
[INFO] [stdout] 46 | |                 SELECT user_id, password_hash FROM users
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | |             email
[INFO] [stdout] 50 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> adapter/src/repository/user.rs:25:19
[INFO] [stdout]    |
[INFO] [stdout] 25 |           let row = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 26 | |             UserRow,
[INFO] [stdout] 27 | |             r#"
[INFO] [stdout] 28 | |                 SELECT
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | |             current_user_id as _
[INFO] [stdout] 40 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> adapter/src/repository/user.rs:52:21
[INFO] [stdout]    |
[INFO] [stdout] 52 |           let users = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 53 | |             UserRow,
[INFO] [stdout] 54 | |             r#"
[INFO] [stdout] 55 | |                 SELECT
[INFO] [stdout] ...  |
[INFO] [stdout] 65 | |             "#
[INFO] [stdout] 66 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> adapter/src/repository/user.rs:84:19
[INFO] [stdout]    |
[INFO] [stdout] 84 |           let res = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 85 | |             r#"
[INFO] [stdout] 86 | |                 INSERT INTO users(user_id, name, email, password_hash, role_id)
[INFO] [stdout] 87 | |                 SELECT $1, $2, $3, $4, role_id FROM roles WHERE name = $5;
[INFO] [stdout] ...  |
[INFO] [stdout] 93 | |             role.as_ref()
[INFO] [stdout] 94 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/user.rs:116:38
[INFO] [stdout]     |
[INFO] [stdout] 116 |           let original_password_hash = sqlx::query!(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 117 | |             r#"
[INFO] [stdout] 118 | |                 SELECT password_hash FROM users WHERE user_id = $1;
[INFO] [stdout] 119 | |             "#,
[INFO] [stdout] 120 | |             event.user_id as _
[INFO] [stdout] 121 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/user.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 | /         sqlx::query!(
[INFO] [stdout] 133 | |             r#"
[INFO] [stdout] 134 | |                 UPDATE users SET password_hash = $2 WHERE user_id = $1;
[INFO] [stdout] 135 | |             "#,
[INFO] [stdout] 136 | |             event.user_id as _,
[INFO] [stdout] 137 | |             new_password_hash,
[INFO] [stdout] 138 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/user.rs:150:19
[INFO] [stdout]     |
[INFO] [stdout] 150 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 151 | |             r#"
[INFO] [stdout] 152 | |                 UPDATE users
[INFO] [stdout] 153 | |                 SET role_id = (
[INFO] [stdout] ...   |
[INFO] [stdout] 159 | |             event.role.as_ref()
[INFO] [stdout] 160 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/user.rs:173:19
[INFO] [stdout]     |
[INFO] [stdout] 173 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 174 | |             r#"
[INFO] [stdout] 175 | |                 DELETE FROM users
[INFO] [stdout] 176 | |                 WHERE user_id = $1
[INFO] [stdout] 177 | |             "#,
[INFO] [stdout] 178 | |             event.user_id as _
[INFO] [stdout] 179 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UserItem`
[INFO] [stdout]   --> adapter/src/repository/auth.rs:17:59
[INFO] [stdout]    |
[INFO] [stdout] 17 |         model::auth::{AuthorizationKey, AuthorizedUserId, UserItem, from},
[INFO] [stdout]    |                                                           ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CheckoutId`
[INFO] [stdout]  --> adapter/src/repository/book.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 |         id::{BookId, CheckoutId, UserId},
[INFO] [stdout]   |                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BookCheckoutRow`
[INFO] [stdout]   --> adapter/src/repository/book.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |     model::book::{BookCheckoutRow, BookRow, PaginatedBookRow},
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CheckoutRow` and `ReturnedCheckoutRow`
[INFO] [stdout]   --> adapter/src/repository/checkout.rs:17:23
[INFO] [stdout]    |
[INFO] [stdout] 17 |     model::checkout::{CheckoutRow, CheckoutStateRow, ReturnedCheckoutRow},
[INFO] [stdout]    |                       ^^^^^^^^^^^                    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `model::user::UserRow`
[INFO] [stdout]  --> adapter/src/repository/user.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::database::{ConnectionPool, model::user::UserRow};
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> adapter/src/repository/book.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | /         sqlx::query!(
[INFO] [stdout] 29 | |             r#"
[INFO] [stdout] 30 | |                 INSERT INTO books (title, author, isbn, description, user_id)
[INFO] [stdout] 31 | |                 VALUES($1, $2, $3, $4, $5)
[INFO] [stdout] ...  |
[INFO] [stdout] 37 | |             requested_user as _
[INFO] [stdout] 38 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> adapter/src/repository/book.rs:49:43
[INFO] [stdout]    |
[INFO] [stdout] 49 |           let rows: Vec<PaginatedBookRow> = sqlx::query_as!(
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 50 | |             PaginatedBookRow,
[INFO] [stdout] 51 | |             r#"
[INFO] [stdout] 52 | |                 SELECT
[INFO] [stdout] ...  |
[INFO] [stdout] 61 | |             offset
[INFO] [stdout] 62 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> adapter/src/repository/book.rs:70:34
[INFO] [stdout]    |
[INFO] [stdout] 70 |           let rows: Vec<BookRow> = sqlx::query_as!(
[INFO] [stdout]    |  __________________________________^
[INFO] [stdout] 71 | |             BookRow,
[INFO] [stdout] 72 | |             r#"
[INFO] [stdout] 73 | |                 SELECT
[INFO] [stdout] ...  |
[INFO] [stdout] 86 | |             &book_ids as _
[INFO] [stdout] 87 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/book.rs:115:36
[INFO] [stdout]     |
[INFO] [stdout] 115 |           let row: Option<BookRow> = sqlx::query_as!(
[INFO] [stdout]     |  ____________________________________^
[INFO] [stdout] 116 | |             BookRow,
[INFO] [stdout] 117 | |             r#"
[INFO] [stdout] 118 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 130 | |             book_id as _,
[INFO] [stdout] 131 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/book.rs:149:19
[INFO] [stdout]     |
[INFO] [stdout] 149 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 150 | |             r#"
[INFO] [stdout] 151 | |                 UPDATE books
[INFO] [stdout] 152 | |                 SET
[INFO] [stdout] ...   |
[INFO] [stdout] 166 | |             event.requested_user as _
[INFO] [stdout] 167 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/book.rs:180:19
[INFO] [stdout]     |
[INFO] [stdout] 180 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 181 | |             r#"
[INFO] [stdout] 182 | |                 DELETE FROM books
[INFO] [stdout] 183 | |                 WHERE book_id = $1
[INFO] [stdout] ...   |
[INFO] [stdout] 188 | |             event.requested_user as _
[INFO] [stdout] 189 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/book.rs:204:19
[INFO] [stdout]     |
[INFO] [stdout] 204 |           let res = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 205 | |             BookCheckoutRow,
[INFO] [stdout] 206 | |             r#"
[INFO] [stdout] 207 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 218 | |             &book_ids as _
[INFO] [stdout] 219 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/book.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 |         sqlx::query!(r#"INSERT INTO roles(name) VALUES ('Admin'), ('User');"#)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> adapter/src/repository/checkout.rs:36:23
[INFO] [stdout]    |
[INFO] [stdout] 36 |               let res = sqlx::query_as!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 37 | |                 CheckoutStateRow,
[INFO] [stdout] 38 | |                 r#"
[INFO] [stdout] 39 | |                     SELECT
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |                 event.book_id as _
[INFO] [stdout] 48 | |             )
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> adapter/src/repository/checkout.rs:75:19
[INFO] [stdout]    |
[INFO] [stdout] 75 |           let res = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 76 | |             r#"
[INFO] [stdout] 77 | |                 INSERT INTO checkouts
[INFO] [stdout] 78 | |                 (checkout_id, book_id, user_id, checked_out_at)
[INFO] [stdout] ...  |
[INFO] [stdout] 85 | |             event.checked_out_at,
[INFO] [stdout] 86 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/checkout.rs:116:23
[INFO] [stdout]     |
[INFO] [stdout] 116 |               let res = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 117 | |                 CheckoutStateRow,
[INFO] [stdout] 118 | |                 r#"
[INFO] [stdout] 119 | |                     SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 127 | |                 event.book_id as _,
[INFO] [stdout] 128 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/checkout.rs:157:19
[INFO] [stdout]     |
[INFO] [stdout] 157 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 158 | |             r#"
[INFO] [stdout] 159 | |                 INSERT INTO returned_checkouts
[INFO] [stdout] 160 | |                 (checkout_id, book_id, user_id, checked_out_at, returned_at)
[INFO] [stdout] ...   |
[INFO] [stdout] 167 | |             event.returned_at,
[INFO] [stdout] 168 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/checkout.rs:180:19
[INFO] [stdout]     |
[INFO] [stdout] 180 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 181 | |             r#"
[INFO] [stdout] 182 | |                     DELETE FROM checkouts WHERE checkout_id = $1;
[INFO] [stdout] 183 | |                 "#,
[INFO] [stdout] 184 | |             event.checkout_id as _,
[INFO] [stdout] 185 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/checkout.rs:202:9
[INFO] [stdout]     |
[INFO] [stdout] 202 | /         sqlx::query_as!(
[INFO] [stdout] 203 | |             CheckoutRow,
[INFO] [stdout] 204 | |             r#"
[INFO] [stdout] 205 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 219 | |             "#,
[INFO] [stdout] 220 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/checkout.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 | /         sqlx::query_as!(
[INFO] [stdout] 230 | |             CheckoutRow,
[INFO] [stdout] 231 | |             r#"
[INFO] [stdout] 232 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 248 | |             user_id as _
[INFO] [stdout] 249 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/checkout.rs:262:53
[INFO] [stdout]     |
[INFO] [stdout] 262 |           let mut checkout_histories: Vec<Checkout> = sqlx::query_as!(
[INFO] [stdout]     |  _____________________________________________________^
[INFO] [stdout] 263 | |             ReturnedCheckoutRow,
[INFO] [stdout] 264 | |             r#"
[INFO] [stdout] 265 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 281 | |             book_id as _
[INFO] [stdout] 282 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/checkout.rs:304:9
[INFO] [stdout]     |
[INFO] [stdout] 304 |         sqlx::query!("SET TRANSACTION ISOLATION LEVEL SERIALIZABLE")
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/checkout.rs:313:19
[INFO] [stdout]     |
[INFO] [stdout] 313 |           let res = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 314 | |             CheckoutRow,
[INFO] [stdout] 315 | |             r#"
[INFO] [stdout] 316 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 330 | |             book_id as _,
[INFO] [stdout] 331 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> adapter/src/repository/user.rs:25:19
[INFO] [stdout]    |
[INFO] [stdout] 25 |           let row = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 26 | |             UserRow,
[INFO] [stdout] 27 | |             r#"
[INFO] [stdout] 28 | |                 SELECT
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | |             current_user_id as _
[INFO] [stdout] 40 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> adapter/src/repository/user.rs:52:21
[INFO] [stdout]    |
[INFO] [stdout] 52 |           let users = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 53 | |             UserRow,
[INFO] [stdout] 54 | |             r#"
[INFO] [stdout] 55 | |                 SELECT
[INFO] [stdout] ...  |
[INFO] [stdout] 65 | |             "#
[INFO] [stdout] 66 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> adapter/src/repository/user.rs:84:19
[INFO] [stdout]    |
[INFO] [stdout] 84 |           let res = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 85 | |             r#"
[INFO] [stdout] 86 | |                 INSERT INTO users(user_id, name, email, password_hash, role_id)
[INFO] [stdout] 87 | |                 SELECT $1, $2, $3, $4, role_id FROM roles WHERE name = $5;
[INFO] [stdout] ...  |
[INFO] [stdout] 93 | |             role.as_ref()
[INFO] [stdout] 94 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/user.rs:116:38
[INFO] [stdout]     |
[INFO] [stdout] 116 |           let original_password_hash = sqlx::query!(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 117 | |             r#"
[INFO] [stdout] 118 | |                 SELECT password_hash FROM users WHERE user_id = $1;
[INFO] [stdout] 119 | |             "#,
[INFO] [stdout] 120 | |             event.user_id as _
[INFO] [stdout] 121 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/user.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 | /         sqlx::query!(
[INFO] [stdout] 133 | |             r#"
[INFO] [stdout] 134 | |                 UPDATE users SET password_hash = $2 WHERE user_id = $1;
[INFO] [stdout] 135 | |             "#,
[INFO] [stdout] 136 | |             event.user_id as _,
[INFO] [stdout] 137 | |             new_password_hash,
[INFO] [stdout] 138 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/user.rs:150:19
[INFO] [stdout]     |
[INFO] [stdout] 150 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 151 | |             r#"
[INFO] [stdout] 152 | |                 UPDATE users
[INFO] [stdout] 153 | |                 SET role_id = (
[INFO] [stdout] ...   |
[INFO] [stdout] 159 | |             event.role.as_ref()
[INFO] [stdout] 160 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> adapter/src/repository/user.rs:173:19
[INFO] [stdout]     |
[INFO] [stdout] 173 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 174 | |             r#"
[INFO] [stdout] 175 | |                 DELETE FROM users
[INFO] [stdout] 176 | |                 WHERE user_id = $1
[INFO] [stdout] 177 | |             "#,
[INFO] [stdout] 178 | |             event.user_id as _
[INFO] [stdout] 179 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UserItem`
[INFO] [stdout]   --> adapter/src/repository/auth.rs:17:59
[INFO] [stdout]    |
[INFO] [stdout] 17 |         model::auth::{AuthorizationKey, AuthorizedUserId, UserItem, from},
[INFO] [stdout]    |                                                           ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CheckoutId`
[INFO] [stdout]  --> adapter/src/repository/book.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 |         id::{BookId, CheckoutId, UserId},
[INFO] [stdout]   |                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BookCheckoutRow`
[INFO] [stdout]   --> adapter/src/repository/book.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |     model::book::{BookCheckoutRow, BookRow, PaginatedBookRow},
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CheckoutRow` and `ReturnedCheckoutRow`
[INFO] [stdout]   --> adapter/src/repository/checkout.rs:17:23
[INFO] [stdout]    |
[INFO] [stdout] 17 |     model::checkout::{CheckoutRow, CheckoutStateRow, ReturnedCheckoutRow},
[INFO] [stdout]    |                       ^^^^^^^^^^^                    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `model::user::UserRow`
[INFO] [stdout]  --> adapter/src/repository/user.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::database::{ConnectionPool, model::user::UserRow};
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `adapter` (lib) due to 25 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `adapter` (lib test) due to 26 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1248a6071bf8c97f1ef4f65305888ff1f37156c6e775f61afc7ecda87548e8b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1248a6071bf8c97f1ef4f65305888ff1f37156c6e775f61afc7ecda87548e8b6", kill_on_drop: false }`
[INFO] [stdout] 1248a6071bf8c97f1ef4f65305888ff1f37156c6e775f61afc7ecda87548e8b6
